package com.sj.purchase.modules.cost.views.stock;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * Created by yangrd on 2017/7/20.
 */
public class InStockDetailsVO {

    @Excel(name = "仓库", width = 25)
    private String warehouse;

    @Excel(name = "类别-品牌-型号", width = 35)
    private String darwin;//类别-品牌-型号

    @Excel(name = "商品编码", width = 25)
    private String spuNo;//商品编码

    @Excel(name = "SKU编码", width = 25)
    private String skuNo;//SKU编码

    @Excel(name = "SKU名称", width = 25)
    private String skuName;//SKU名称

    @Excel(name = "入库订单", width = 25)
    private String orderNo;

    @Excel(name = "唯一码", width = 25)
    private String imei;

    @Excel(name = "数量", width = 25)
    private Integer num = 1;

    @Excel(name = "采购价", width = 25)
    private Double price;//采购价

    @Excel(name = "入库日期", width = 25,format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date day;


    public static InStockDetailsVO instance() {
        return new InStockDetailsVO();
    }

    public String getWarehouse() {
        return warehouse;
    }

    public InStockDetailsVO setWarehouse(String warehouse) {
        this.warehouse = warehouse;
        return this;
    }

    public String getDarwin() {
        return darwin;
    }

    public InStockDetailsVO setDarwin(String darwin) {
        this.darwin = darwin;
        return this;
    }

    public String getSpuNo() {
        return spuNo;
    }

    public InStockDetailsVO setSpuNo(String spuNo) {
        this.spuNo = spuNo;
        return this;
    }

    public String getSkuNo() {
        return skuNo;
    }

    public InStockDetailsVO setSkuNo(String skuNo) {
        this.skuNo = skuNo;
        return this;
    }

    public String getSkuName() {
        return skuName;
    }

    public InStockDetailsVO setSkuName(String skuName) {
        this.skuName = skuName;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public InStockDetailsVO setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public String getImei() {
        return imei;
    }

    public InStockDetailsVO setImei(String imei) {
        this.imei = imei;
        return this;
    }

    public Integer getNum() {
        return num;
    }

    public InStockDetailsVO setNum(Integer num) {
        this.num = num;
        return this;
    }

    public Double getPrice() {
        return price;
    }

    public InStockDetailsVO setPrice(Double price) {
        this.price = price;
        return this;
    }

    public Date getDay() {
        return day;
    }

    public InStockDetailsVO setDay(Date day) {
        this.day = day;
        return this;
    }
}
